package Homework.Top06;

public class Test {
    public static void main(String[] args) {
        BenChi benChi=new BenChi("奔驰","黑色");
        WuLing  wuLing=new WuLing("五菱","白色");
        DaZhong daZhong=new DaZhong("大众","银色");
        benChi.startUp();
        benChi.accelerate();
        benChi.end();
        System.out.println();
        wuLing.startUp();
        wuLing.accelerate();
        wuLing.end();
        System.out.println();
        daZhong.startUp();
        daZhong.accelerate();
        daZhong.end();
    }
}
